﻿using Currency.Entity.Shared;
using System;

namespace User.Entity.Entities
{
    /// <summary>
    /// 用户信息
    /// 实体关系映射需要使用EfCoreEntity
    /// </summary>
    [EfCoreEntity]
    public class UserInfo : BaseModel
    {
        /// <summary>
        /// Desc:名字
        /// Default:
        /// Nullable:True
        /// </summary>

        public string UserName { get; set; }

        /// <summary>
        /// Desc:用户名
        /// Default:
        /// Nullable:True
        /// </summary>

        public string Account { get; set; }

        /// <summary>
        /// Desc:密码盐
        /// Default:
        /// Nullable:True
        /// </summary>
        public string Salt {  get; set; }

        /// <summary>
        /// Desc:密码
        /// Default:
        /// Nullable:True
        /// </summary>

        public string Password { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:
        /// Nullable:False
        /// </summary>

        public DateTime CreateTime { get; set; }
    }
}
